package com.jjx.trainingapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jjx.trainingapi.entity.po.Section;
import com.jjx.trainingapi.entity.vo.SectionVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author LoveHuahua
 * @date 2022年05月24日 1:10
 * @description believe in yourself
 */
@Mapper
public interface SectionMapper extends BaseMapper<Section> {
    /**
     * 问卷列表
     *
     * @param section
     * @return
     */
    List<SectionVo> questionList(@Param("section") Section section, @Param("userId") Integer userId);

}